package com.secsbrain.development.biz.constant;

import java.util.Arrays;
import java.util.List;

/**
 * Created by yangyang.zhang on 2017/6/28.
 */
public enum TaskStatus {
    INIT, PAUSE, SUCCESS, FINISHED, A_FINISHED, FAILURE, FORBBID, PROCESSING, CHECKING, HANGUP;

    public static List<TaskStatus> executable() {
        return Arrays.asList(INIT, FAILURE);
    }
}
